package com.tingyuge.base.thread.concurrent2;

/**
 * Created by xiaodao
 * date: 2019/11/27
 */
public class MyTest4 {



    public void method() {
         Object object = new Object();
        synchronized (object) {
            System.out.println("MyTest4.method");
        }
    }
}
